.app-layout {
  height: 100vh;
}

.upload-area {
  border: 2px dashed #d9d9d9;
  border-radius: 6px;
  background: #fafafa;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s;
}

.upload-area:hover {
  border-color: #1890ff;
}

.upload-area.dragover {
  border-color: #1890ff;
  background: #f0f8ff;
}

.image-preview {
  max-width: 100%;
  max-height: 200px;
  margin-top: 16px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.processed-image {
  margin-bottom: 16px;
  text-align: center;
}

.processed-image img {
  max-width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  margin-bottom: 8px;
}

.ocr-progress {
  margin: 16px 0;
}

.question-section {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fff;
}

.question-title {
  font-weight: 600;
  margin-bottom: 12px;
  color: #1890ff;
}

.question-images {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.question-image-item {
  text-align: center;
}

.question-image-item img {
  max-width: 200px;
  max-height: 150px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
}

.image-label {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.loading-container {
  text-align: center;
  padding: 40px;
}

.error-message {
  color: #ff4d4f;
  background: #fff2f0;
  border: 1px solid #ffccc7;
  border-radius: 4px;
  padding: 12px;
  margin: 16px 0;
}
